// 验证码API
export const CAPTCHA_IMAGES = "/captchaImage";

// 基础API
export const API_BASE = "/v1/api";

// 菜单API
export const API_MENU_LIST = API_BASE + "/menu";

// 搜索引擎API
export const API_SEARCH = API_BASE + "/search";
export const API_SEARCH_LIST = API_SEARCH;
export const API_SEARCH_TIPS = API_SEARCH + "/tips";

// 站点API
export const API_SITE = API_BASE + "/site";
export const API_SITE_LIST = API_SITE;
export const API_SITE_RANDOM = API_SITE + "/random";
export const API_SITE_COLLECT = API_SITE + "/collect";
export const API_SITE_UN_COLLECT = API_SITE + "/cancelCollect";
export const API_SITE_CHECK_COLLECT = API_SITE + "/checkCollect";
export const API_SITE_PUSH = API_SITE + "/push";
export const API_SITE_COUNT = API_SITE + "/count";

// 分类API
export const API_CLASSIFY = API_BASE + "/classify";
export const API_CLASSIFY_LIST = API_CLASSIFY;

// 标签API
export const API_TAG = API_BASE + "/tag";
export const API_TAG_LIST = API_TAG;
export const API_TAG_ALL_LIST = API_TAG + "/all";
export const API_TAG_COUNT = API_TAG + "/count";

// 评论API
export const API_COMMENTS = API_BASE + "/comments";
export const API_COMMENTS_LIST = API_COMMENTS;
export const API_COMMENTS_INSET = API_COMMENTS + "/insert";
export const API_COMMENTS_CHILDREN = API_COMMENTS + "/children";
export const API_COMMENTS_COUNT = API_COMMENTS + "/count";

// 用户API
export const API_USER = API_BASE + "/user";
export const API_USER_LOGIN = "/login";
export const API_USER_LOGOUT = "/logout";
export const API_USER_INFO = "/getInfo";
export const API_USER_AVATAR_UPLOAD = "/system/user/profile/avatar";
export const API_USER_VIEW_INFO = API_USER;
export const API_USER_UPDATE = API_USER;
export const API_USER_UPDATE_PASSWORD = API_USER + "/password";

// 字典API
export const API_DICT = API_BASE + "/dict";
export const API_DICT_INFO = API_DICT;

// OSS
export const API_OSS = "/system/oss";
export const API_OSS_UPLOAD = API_OSS + "/upload";

// 接口API
export const API_INTERFACE = API_BASE + "/interface";
export const API_INTERFACE_LIST = API_INTERFACE;

// 设置API
export const API_SETTING = API_BASE + "/setting";
export const API_SETTING_LIST = API_SETTING;